package com.vhly.remoteapi.yahoo.contact.field;

import com.vhly.remoteapi.yahoo.contact.FieldValue;

/**
 * Created by IntelliJ IDEA.
 * User: vhly[FR]
 * Date: 2010-12-13
 * Time: 22:21:43
 * Email: vhly@163.com
 */

/**
 * Single Content Field<br/>
 * Email
 * JobTitle
 * Link
 * NickName
 * Phone
 */
public class TextField extends FieldValue {

    private String content;

    public TextField(String text){
        content = text;
    }

    /**
     * Serial content to XML
     *
     * @return String
     */
    @Override
    public String toXML() {
        return content;
    }
}
